<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<!-- action 表示提交到后哪里去 -->
	<form action="array_form_submit.action" >
		<select name="categories" multiple="multiple">
			<option value="1">java1</option>
			<option value="2">java2</option>
			<option value="3">java3</option>
			<option value="4">java4</option>
		</select>
			<br>
			<input type="checkbox" name="posts" value="1">选项1
	<input type="checkbox" name="posts" value="2">选项2
	<input type="checkbox" name="posts" value="3">选项3
	<input type="submit" value="提交">
	</form>


</body>
</html>